package com.gaeainfo.modules.alarm.process.dao;

import com.gaeainfo.modules.alarm.process.entity.AlarmEntity;
import com.gaeainfo.modules.alarm.process.entity.AlarmProcessEntity;

import java.util.Map;

/**
 * Created by Caven on 2018/7/11.
 */
public interface AlarmProcessDao {

    Map<String,Object> findProcessDetailsById(String processId) throws Exception;

    AlarmProcessEntity findAlarmProcessById(String processId) throws Exception;

    AlarmEntity findAlarmById(String alarmId) throws Exception;

    String[] getParentDept(String deptId) throws Exception;

    void updateProcess(AlarmProcessEntity alarmProcessEntity) throws Exception;

    void updateAlarm(AlarmEntity alarmEntity) throws Exception;
}
